package com.natsumehill.ls.service;

import com.alipay.sofa.runtime.api.annotation.SofaReference;
import com.alipay.sofa.runtime.api.annotation.SofaService;
import com.natsumehill.ls.dao.UserDao;
import com.natsumehill.ls.po.UserPo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
//@Service
//@SofaService
public class ServiceNoInterface  {
    @SofaReference
    private UserDao userDao;

    void handle(){
        log.info("Service with no Interface");
        System.out.println(userDao==null);;
    }

/*    @Override
    public UserPo queryUser(UserPo userPo) {
        return null;
    }

    @Override
    public void addUser(UserPo userPo) {

    }*/
}
